package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.ProjectAnnouncement;

import java.util.List;

/**
 * 项目公告Service接口
 *
 * @author liuxvru
 * @date 2024-11-22
 */
public interface IProjectAnnouncementService extends IService<ProjectAnnouncement> {

    /**
     * 查询项目公告列表
     *
     * @param projectAnnouncement 项目公告
     * @return 项目公告集合
     */
    public List<ProjectAnnouncement> selectProjectAnnouncementList(ProjectAnnouncement projectAnnouncement);


    List<ProjectAnnouncement> listByProjectId(Long projectId, ProjectAnnouncement projectAnnouncement);

    int add(Long projectId, ProjectAnnouncement projectAnnouncement);

    int edit(ProjectAnnouncement projectAnnouncement);
}
